package o;

import com.huawei.appgallery.agwebview.api.delegate.GeneralWebViewDelegate;

public class aze {
    private static azl ˊ = null;
    private static boolean ˋ = false;
    private static Class<? extends azn> ˎ = null;
    private static String ˏ;
    private static Class<? extends azv> ॱ = null;

    public static void ˋ(azl o_azl) {
        ˊ = o_azl;
    }

    public static azl ˎ() {
        return ˊ;
    }

    public static void ˋ(Class<? extends azm> cls) {
        GeneralWebViewDelegate.ॱ((Class) cls);
    }

    public static void ˎ(Class<? extends bah> cls) {
        GeneralWebViewDelegate.ˊ((Class) cls);
    }

    public static void ˏ(Class<? extends azk> cls) {
        GeneralWebViewDelegate.ˏ((Class) cls);
    }

    public static void ˊ(Class<? extends azx> cls) {
        GeneralWebViewDelegate.ˎ((Class) cls);
    }

    public static boolean ˊ() {
        return ˋ;
    }

    public static void ˋ(boolean z) {
        ˋ = z;
    }

    public static void ˋ(String str) {
        ˏ = str;
    }

    public static String ॱ() {
        return ˏ;
    }

    public static void ॱ(Class<? extends azv> cls) {
        ॱ = cls;
    }

    public static azv ˏ() {
        if (ॱ == null) {
            return null;
        }
        try {
            return (azv) ॱ.newInstance();
        } catch (Exception e) {
            azh.ˏ.ˏ("WebViewGlobalConfig", "create ForumMenuControl error");
            return null;
        }
    }

    public static void ॱॱ(Class<? extends azn> cls) {
        ˎ = cls;
    }

    public static azn ˋ() {
        if (ˎ == null) {
            return null;
        }
        try {
            return (azn) ˎ.newInstance();
        } catch (Exception e) {
            azh.ˏ.ˏ("WebViewGlobalConfig", "create IJSFactory error");
            return null;
        }
    }
}
